package per.jerry.mybatis.demo.entity;

public class News {
    /**
     */
    private Integer id;

    /**
     */
    private String title;

    /**
     */
    private String content;

    /**
     */
    private String createtime;
    
    
    public News() {
		super();
	}
    
    
    
	public News(String title, String content, String createtime) {
		super();
		this.title = title;
		this.content = content;
		this.createtime = createtime;
	}



	public News(Integer id, String title, String content, String createtime) {
		super();
		this.id = id;
		this.title = title;
		this.content = content;
		this.createtime = createtime;
	}



	/**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column easybuy_news.id
     *
     * @return the value of easybuy_news.id
     *
     * @mbggenerated Wed Apr 26 09:13:40 CST 2017
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column easybuy_news.id
     *
     * @param id the value for easybuy_news.id
     *
     * @mbggenerated Wed Apr 26 09:13:40 CST 2017
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column easybuy_news.title
     *
     * @return the value of easybuy_news.title
     *
     * @mbggenerated Wed Apr 26 09:13:40 CST 2017
     */
    public String getTitle() {
        return title;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column easybuy_news.title
     *
     * @param title the value for easybuy_news.title
     *
     * @mbggenerated Wed Apr 26 09:13:40 CST 2017
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column easybuy_news.content
     *
     * @return the value of easybuy_news.content
     *
     * @mbggenerated Wed Apr 26 09:13:40 CST 2017
     */
    public String getContent() {
        return content;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column easybuy_news.content
     *
     * @param content the value for easybuy_news.content
     *
     * @mbggenerated Wed Apr 26 09:13:40 CST 2017
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column easybuy_news.createTime
     *
     * @return the value of easybuy_news.createTime
     *
     * @mbggenerated Wed Apr 26 09:13:40 CST 2017
     */
    public String getCreatetime() {
        return createtime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column easybuy_news.createTime
     *
     * @param createtime the value for easybuy_news.createTime
     *
     * @mbggenerated Wed Apr 26 09:13:40 CST 2017
     */
    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }



	@Override
	public String toString() {
		return "News [id=" + id + ", title=" + title + ", content=" + content + ", createtime=" + createtime + "]";
	}
    
    
}